import 'package:json_annotation/json_annotation.dart';

part 'EcyAdministrativeDivisionModel.g.dart';

@JsonSerializable()
class EcyAdministrativeDivisionModel {
  EcyAdministrativeDivisionModel();

  late String id;
  late String pid;
  late String name;
  late String? code;
  
  factory EcyAdministrativeDivisionModel.fromJson(Map<String,dynamic> json) => _$EcyAdministrativeDivisionModelFromJson(json);
  Map<String, dynamic> toJson() => _$EcyAdministrativeDivisionModelToJson(this);
}
